Fix mouse dragging of words and lines (Bug#6840).
authorChong Yidong <cyd@stupidchicken.com>
Mon, 16 Aug 2010 02:08:01 +0000 (22:08 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 16 Aug 2010 02:08:01 +0000 (22:08 -0400)
commit90a7f4dd5f3c152bc6c7661680b0909d2e88db78
tree7b6e252f35589c01866cdff555593f52ab83295a
parent9212b30aaefbe31b52fbdb0ba460b6a14de59ba6
Fix mouse dragging of words and lines (Bug#6840).

* mouse.el (mouse--drag-set-mark-and-point): New function.
(mouse-drag-track): Use LOCATION arg to push-mark.  Use
mouse--drag-set-mark-and-point to take click-count into
consideration when updating point and mark (Bug#6840).
lisp/ChangeLog
lisp/mouse.el